/*
 * ScreenShotMaker.h
 *
 *  Created on: 08.08.2012
 *      Author: Axel
 */

#ifndef SCREENSHOTMAKER_H_
#define SCREENSHOTMAKER_H_

#include <windows.h>
#include <string>
#include "Bitmap.h"


using namespace std;

class ScreenShotMaker {
public:

	string winName;
	HDC hdcScreen;
	HWND hwndScreen;
//	BITMAPINFO bmi;
//	RGBTRIPLE *pRgb;

	ScreenShotMaker();
	ScreenShotMaker(string windowName);

	RGBTRIPLE* getPixels();
	COLORREF getPixel(int x, int y);
	Bitmap* makeScreenShot();

	virtual ~ScreenShotMaker();
};

#endif /* SCREENSHOTMAKER_H_ */
